<%= render :partial => "/users/jquery_mask" %>

<% form_for(@visitor) do |f| %>
  <%= f.error_messages %>
  <%= f.hidden_field(:name, :value => @visitor.name) %>
  <%=  "Hello, #{@visitor.name}! Please tell us a little more about yourself:" %>  <br />
  <br />
  <%= f.label :email, "Email (optional)" %>
  <div class="box">
    <div class="b l"></div>
    <div class="b c"></div>
    <div class="b r"></div>
    <div class="m l"></div>
    <div class="m r"></div>
    <div class="t l"></div>
    <div class="t r"></div>

    <div class="text-blue">
      <%= f.text_field :email, :class => "type" %>
    </div>
  </div>
  <br />

  <%= f.label :phone, "Phone Number (optional)" %>
  <div class="box">
    <div class="b l"></div>
    <div class="b c"></div>
    <div class="b r"></div>
    <div class="m l"></div>
    <div class="m r"></div>
    <div class="t l"></div>
    <div class="t r"></div>

    <div class="text-blue">
      <%= f.text_field :phone, :class => "type phone_input" %>
    </div>
  </div>
  <br />
  <div class="buttons">
    <%= link_to 'Cancel', visitors_signin_path(current_event) ,:class => "button" %>
  <%#<input type="submit" name="byi" value="Proceed" class="button" /> %>
    <%= f.submit 'Continue', :class => "button" %>
  </div>

<% end %>